<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html>
        <head>
          <title>DatagramSocket - lang-scala.git 1.0.0 API - org.vertx.scala.core.datagram.DatagramSocket</title>
          <meta name="description" content="DatagramSocket - lang - scala.git 1.0.0 API - org.vertx.scala.core.datagram.DatagramSocket" />
          <meta name="keywords" content="DatagramSocket lang scala.git 1.0.0 API org.vertx.scala.core.datagram.DatagramSocket" />
          <meta http-equiv="content-type" content="text/html; charset=UTF-8" />
          
      <link href="../../../../../lib/template.css" media="screen" type="text/css" rel="stylesheet" />
      <link href="../../../../../lib/diagrams.css" media="screen" type="text/css" rel="stylesheet" id="diagrams-css" />
      <script type="text/javascript">
         if(top === self) {
            var url = '../../../../../index.html';
            var hash = 'org.vertx.scala.core.datagram.DatagramSocket';
            var anchor = window.location.hash;
            var anchor_opt = '';
            if (anchor.length >= 1)
              anchor_opt = '@' + anchor.substring(1);
            window.location.href = url + '#' + hash + anchor_opt;
         }
   	  </script>
    
        </head>
        <body class="type">
      <div id="definition">
        <a href="DatagramSocket$.html" title="Go to companion"><img src="../../../../../lib/class_to_object_big.png" /></a>
        <p id="owner"><a href="../../../../package.html" class="extype" name="org">org</a>.<a href="../../../package.html" class="extype" name="org.vertx">vertx</a>.<a href="../../package.html" class="extype" name="org.vertx.scala">scala</a>.<a href="../package.html" class="extype" name="org.vertx.scala.core">core</a>.<a href="package.html" class="extype" name="org.vertx.scala.core.datagram">datagram</a></p>
        <h1><a href="DatagramSocket$.html" title="Go to companion">DatagramSocket</a></h1>
      </div>

      <h4 id="signature" class="signature">
      <span class="modifier_kind">
        <span class="modifier">final </span>
        <span class="kind">class</span>
      </span>
      <span class="symbol">
        <span class="name">DatagramSocket</span><span class="result"> extends <span class="extype" name="org.vertx.scala.Self">Self</span> with <a href="../streams/DrainSupport.html" class="extype" name="org.vertx.scala.core.streams.DrainSupport">DrainSupport</a> with <a href="../NetworkSupport.html" class="extype" name="org.vertx.scala.core.NetworkSupport">NetworkSupport</a> with <a href="../streams/ReadSupport.html" class="extype" name="org.vertx.scala.core.streams.ReadSupport">ReadSupport</a>[<a href="DatagramPacket.html" class="extype" name="org.vertx.scala.core.datagram.DatagramPacket">DatagramPacket</a>] with <a href="../Closeable.html" class="extype" name="org.vertx.scala.core.Closeable">Closeable</a></span>
      </span>
      </h4>
      
          <div id="comment" class="fullcommenttop"><div class="comment cmt"><p>A Datagram socket which can be used to send <a href="DatagramPacket.html" class="extype" name="org.vertx.scala.core.datagram.DatagramPacket">org.vertx.scala.core.datagram.DatagramPacket</a>'s to
remote Datagram servers and receive <a href="DatagramPacket.html" class="extype" name="org.vertx.scala.core.datagram.DatagramPacket">org.vertx.scala.core.datagram.DatagramPacket</a>s.</p><p>Usually you use a Datagram Client to send UDP over the wire. UDP is
connection-less which means you are not connected to the remote peer in a
persistent way. Because of this you have to supply the address and port of
the remote peer when sending data.</p><p>You can send data to ipv4 or ipv6 addresses, which also include multicast
addresses.
</p></div><div class="toggleContainer block">
          <span class="toggle">Linear Supertypes</span>
          <div class="superTypes hiddenContent"><a href="../Closeable.html" class="extype" name="org.vertx.scala.core.Closeable">Closeable</a>, <a href="../streams/ReadSupport.html" class="extype" name="org.vertx.scala.core.streams.ReadSupport">ReadSupport</a>[<a href="DatagramPacket.html" class="extype" name="org.vertx.scala.core.datagram.DatagramPacket">DatagramPacket</a>], <a href="../streams/ExceptionSupport.html" class="extype" name="org.vertx.scala.core.streams.ExceptionSupport">ExceptionSupport</a>, <a href="../NetworkSupport.html" class="extype" name="org.vertx.scala.core.NetworkSupport">NetworkSupport</a>, <a href="../streams/DrainSupport.html" class="extype" name="org.vertx.scala.core.streams.DrainSupport">DrainSupport</a>, <span class="extype" name="org.vertx.scala.AsJava">AsJava</span>, <span class="extype" name="org.vertx.scala.Self">Self</span>, <a href="../../../../../scala/package.html#AnyRef=Object" class="extmbr" name="scala.AnyRef">AnyRef</a>, <span class="extype" name="scala.Any">Any</span></div>
        </div></div>
        

      <div id="mbrsel">
        <div id="textfilter"><span class="pre"></span><span class="input"><input id="mbrsel-input" type="text" accesskey="/" /></span><span class="post"></span></div>
        <div id="order">
              <span class="filtertype">Ordering</span>
              <ol>
                
                <li class="alpha in"><span>Alphabetic</span></li>
                <li class="inherit out"><span>By inheritance</span></li>
              </ol>
            </div>
        <div id="ancestors">
                <span class="filtertype">Inherited<br />
                </span>
                <ol id="linearization">
                  <li class="in" name="org.vertx.scala.core.datagram.DatagramSocket"><span>DatagramSocket</span></li><li class="in" name="org.vertx.scala.core.Closeable"><span>Closeable</span></li><li class="in" name="org.vertx.scala.core.streams.ReadSupport"><span>ReadSupport</span></li><li class="in" name="org.vertx.scala.core.streams.ExceptionSupport"><span>ExceptionSupport</span></li><li class="in" name="org.vertx.scala.core.NetworkSupport"><span>NetworkSupport</span></li><li class="in" name="org.vertx.scala.core.streams.DrainSupport"><span>DrainSupport</span></li><li class="in" name="org.vertx.scala.AsJava"><span>AsJava</span></li><li class="in" name="org.vertx.scala.Self"><span>Self</span></li><li class="in" name="scala.AnyRef"><span>AnyRef</span></li><li class="in" name="scala.Any"><span>Any</span></li>
                </ol>
              </div><div id="ancestors">
            <span class="filtertype"></span>
            <ol>
              <li class="hideall out"><span>Hide All</span></li>
              <li class="showall in"><span>Show all</span></li>
            </ol>
            <a href="http://docs.scala-lang.org/overviews/scaladoc/usage.html#members" target="_blank">Learn more about member selection</a>
          </div>
        <div id="visbl">
            <span class="filtertype">Visibility</span>
            <ol><li class="public in"><span>Public</span></li><li class="all out"><span>All</span></li></ol>
          </div>
      </div>

      <div id="template">
        <div id="allMembers">
        

        <div id="types" class="types members">
              <h3>Type Members</h3>
              <ol><li name="org.vertx.scala.core.Closeable.CloseType" visbl="pub" data-isabs="false" fullComment="yes" group="Ungrouped">
      <a id="CloseType=AnyRef{defclose():Unit;defclose(handler:org.vertx.scala.core.Handler[org.vertx.scala.core.AsyncResult[Void]]):Unit}"></a>
      <a id="CloseType:CloseType"></a>
      <h4 class="signature">
      <span class="modifier_kind">
        <span class="modifier"></span>
        <span class="kind">type</span>
      </span>
      <span class="symbol">
        <span class="name">CloseType</span><span class="result"> = <a href="../../../../../scala/package.html#AnyRef=Object" class="extmbr" name="scala.AnyRef">AnyRef</a> { ... /* 2 definitions in type refinement */ }</span>
      </span>
      </h4>
      <div class="fullcomment"><dl class="attributes block"> <dt>Definition Classes</dt><dd><a href="../Closeable.html" class="extype" name="org.vertx.scala.core.Closeable">Closeable</a></dd></dl></div>
    </li><li name="org.vertx.scala.core.datagram.DatagramSocket.J" visbl="pub" data-isabs="false" fullComment="yes" group="Ungrouped">
      <a id="J=org.vertx.java.core.datagram.DatagramSocket"></a>
      <a id="J:J"></a>
      <h4 class="signature">
      <span class="modifier_kind">
        <span class="modifier"></span>
        <span class="kind">type</span>
      </span>
      <span class="symbol">
        <span class="name">J</span><span class="result"> = <span class="extype" name="org.vertx.java.core.datagram.DatagramSocket">java.core.datagram.DatagramSocket</span></span>
      </span>
      </h4>
      <p class="shortcomment cmt">The internal type of the Java wrapped class.</p><div class="fullcomment"><div class="comment cmt"><p>The internal type of the Java wrapped class.</p></div><dl class="attributes block"> <dt>Definition Classes</dt><dd><a href="" class="extype" name="org.vertx.scala.core.datagram.DatagramSocket">DatagramSocket</a> → <a href="../Closeable.html" class="extype" name="org.vertx.scala.core.Closeable">Closeable</a> → <a href="../streams/ReadSupport.html" class="extype" name="org.vertx.scala.core.streams.ReadSupport">ReadSupport</a> → <a href="../streams/ExceptionSupport.html" class="extype" name="org.vertx.scala.core.streams.ExceptionSupport">ExceptionSupport</a> → <a href="../NetworkSupport.html" class="extype" name="org.vertx.scala.core.NetworkSupport">NetworkSupport</a> → <a href="../streams/DrainSupport.html" class="extype" name="org.vertx.scala.core.streams.DrainSupport">DrainSupport</a> → AsJava</dd></dl></div>
    </li></ol>
            </div>

        

        <div id="values" class="values members">
              <h3>Value Members</h3>
              <ol><li name="scala.AnyRef#!=" visbl="pub" data-isabs="false" fullComment="yes" group="Ungrouped">
      <a id="!=(x$1:AnyRef):Boolean"></a>
      <a id="!=(AnyRef):Boolean"></a>
      <h4 class="signature">
      <span class="modifier_kind">
        <span class="modifier">final </span>
        <span class="kind">def</span>
      </span>
      <span class="symbol">
        <span title="gt4s: $bang$eq" class="name">!=</span><span class="params">(<span name="arg0">arg0: <a href="../../../../../scala/package.html#AnyRef=Object" class="extmbr" name="scala.AnyRef">AnyRef</a></span>)</span><span class="result">: <span class="extype" name="scala.Boolean">Boolean</span></span>
      </span>
      </h4>
      <div class="fullcomment"><dl class="attributes block"> <dt>Definition Classes</dt><dd>AnyRef</dd></dl></div>
    </li><li name="scala.Any#!=" visbl="pub" data-isabs="false" fullComment="yes" group="Ungrouped">
      <a id="!=(x$1:Any):Boolean"></a>
      <a id="!=(Any):Boolean"></a>
      <h4 class="signature">
      <span class="modifier_kind">
        <span class="modifier">final </span>
        <span class="kind">def</span>
      </span>
      <span class="symbol">
        <span title="gt4s: $bang$eq" class="name">!=</span><span class="params">(<span name="arg0">arg0: <span class="extype" name="scala.Any">Any</span></span>)</span><span class="result">: <span class="extype" name="scala.Boolean">Boolean</span></span>
      </span>
      </h4>
      <div class="fullcomment"><dl class="attributes block"> <dt>Definition Classes</dt><dd>Any</dd></dl></div>
    </li><li name="scala.AnyRef###" visbl="pub" data-isabs="false" fullComment="yes" group="Ungrouped">
      <a id="##():Int"></a>
      <a id="##():Int"></a>
      <h4 class="signature">
      <span class="modifier_kind">
        <span class="modifier">final </span>
        <span class="kind">def</span>
      </span>
      <span class="symbol">
        <span title="gt4s: $hash$hash" class="name">##</span><span class="params">()</span><span class="result">: <span class="extype" name="scala.Int">Int</span></span>
      </span>
      </h4>
      <div class="fullcomment"><dl class="attributes block"> <dt>Definition Classes</dt><dd>AnyRef → Any</dd></dl></div>
    </li><li name="scala.AnyRef#==" visbl="pub" data-isabs="false" fullComment="yes" group="Ungrouped">
      <a id="==(x$1:AnyRef):Boolean"></a>
      <a id="==(AnyRef):Boolean"></a>
      <h4 class="signature">
      <span class="modifier_kind">
        <span class="modifier">final </span>
        <span class="kind">def</span>
      </span>
      <span class="symbol">
        <span title="gt4s: $eq$eq" class="name">==</span><span class="params">(<span name="arg0">arg0: <a href="../../../../../scala/package.html#AnyRef=Object" class="extmbr" name="scala.AnyRef">AnyRef</a></span>)</span><span class="result">: <span class="extype" name="scala.Boolean">Boolean</span></span>
      </span>
      </h4>
      <div class="fullcomment"><dl class="attributes block"> <dt>Definition Classes</dt><dd>AnyRef</dd></dl></div>
    </li><li name="scala.Any#==" visbl="pub" data-isabs="false" fullComment="yes" group="Ungrouped">
      <a id="==(x$1:Any):Boolean"></a>
      <a id="==(Any):Boolean"></a>
      <h4 class="signature">
      <span class="modifier_kind">
        <span class="modifier">final </span>
        <span class="kind">def</span>
      </span>
      <span class="symbol">
        <span title="gt4s: $eq$eq" class="name">==</span><span class="params">(<span name="arg0">arg0: <span class="extype" name="scala.Any">Any</span></span>)</span><span class="result">: <span class="extype" name="scala.Boolean">Boolean</span></span>
      </span>
      </h4>
      <div class="fullcomment"><dl class="attributes block"> <dt>Definition Classes</dt><dd>Any</dd></dl></div>
    </li><li name="scala.Any#asInstanceOf" visbl="pub" data-isabs="false" fullComment="yes" group="Ungrouped">
      <a id="asInstanceOf[T0]:T0"></a>
      <a id="asInstanceOf[T0]:T0"></a>
      <h4 class="signature">
      <span class="modifier_kind">
        <span class="modifier">final </span>
        <span class="kind">def</span>
      </span>
      <span class="symbol">
        <span class="name">asInstanceOf</span><span class="tparams">[<span name="T0">T0</span>]</span><span class="result">: <span class="extype" name="scala.Any.asInstanceOf.T0">T0</span></span>
      </span>
      </h4>
      <div class="fullcomment"><dl class="attributes block"> <dt>Definition Classes</dt><dd>Any</dd></dl></div>
    </li><li name="org.vertx.scala.core.datagram.DatagramSocket#asJava" visbl="pub" data-isabs="false" fullComment="yes" group="Ungrouped">
      <a id="asJava:org.vertx.java.core.datagram.DatagramSocket"></a>
      <a id="asJava:java.core.datagram.DatagramSocket"></a>
      <h4 class="signature">
      <span class="modifier_kind">
        <span class="modifier"></span>
        <span class="kind">val</span>
      </span>
      <span class="symbol">
        <span class="name">asJava</span><span class="result">: <span class="extype" name="org.vertx.java.core.datagram.DatagramSocket">java.core.datagram.DatagramSocket</span></span>
      </span>
      </h4>
      <p class="shortcomment cmt">The internal instance of the Java wrapped class.</p><div class="fullcomment"><div class="comment cmt"><p>The internal instance of the Java wrapped class.</p></div><dl class="attributes block"> <dt>Definition Classes</dt><dd><a href="" class="extype" name="org.vertx.scala.core.datagram.DatagramSocket">DatagramSocket</a> → AsJava</dd></dl></div>
    </li><li name="org.vertx.scala.core.datagram.DatagramSocket#blockMulticastGroup" visbl="pub" data-isabs="false" fullComment="yes" group="Ungrouped">
      <a id="blockMulticastGroup(multicastAddress:String,networkInterface:String,sourceToBlock:String,handler:org.vertx.scala.core.AsyncResult[org.vertx.scala.core.datagram.DatagramSocket]=&gt;Unit):org.vertx.scala.core.datagram.DatagramSocket"></a>
      <a id="blockMulticastGroup(String,String,String,(AsyncResult[DatagramSocket])⇒Unit):DatagramSocket"></a>
      <h4 class="signature">
      <span class="modifier_kind">
        <span class="modifier"></span>
        <span class="kind">def</span>
      </span>
      <span class="symbol">
        <span class="name">blockMulticastGroup</span><span class="params">(<span name="multicastAddress">multicastAddress: <span class="extype" name="scala.Predef.String">String</span></span>, <span name="networkInterface">networkInterface: <span class="extype" name="scala.Predef.String">String</span></span>, <span name="sourceToBlock">sourceToBlock: <span class="extype" name="scala.Predef.String">String</span></span>, <span name="handler">handler: (<a href="../package.html#AsyncResult[T]=org.vertx.java.core.AsyncResult[T]" class="extmbr" name="org.vertx.scala.core.AsyncResult">AsyncResult</a>[<a href="" class="extype" name="org.vertx.scala.core.datagram.DatagramSocket">DatagramSocket</a>]) ⇒ <span class="extype" name="scala.Unit">Unit</span></span>)</span><span class="result">: <a href="" class="extype" name="org.vertx.scala.core.datagram.DatagramSocket">DatagramSocket</a></span>
      </span>
      </h4>
      <p class="shortcomment cmt">Block the given sourceToBlock address for the given multicastAddress on
the given network interface and notifies the handler once the operation completes.</p><div class="fullcomment"><div class="comment cmt"><p>Block the given sourceToBlock address for the given multicastAddress on
the given network interface and notifies the handler once the operation completes.</p></div><dl class="paramcmts block"><dt class="param">multicastAddress</dt><dd class="cmt"><p>the address for which you want to block the sourceToBlock</p></dd><dt class="param">networkInterface</dt><dd class="cmt"><p>the network interface on which the blocking should accour.</p></dd><dt class="param">sourceToBlock</dt><dd class="cmt"><p>the source address which should be blocked. You will not receive an multicast packets
                           for it anymore.</p></dd><dt class="param">handler</dt><dd class="cmt"><p>then handler to notify once the operation completes</p></dd><dt>returns</dt><dd class="cmt"><p>this              returns itself for method-chaining
</p></dd></dl></div>
    </li><li name="org.vertx.scala.core.datagram.DatagramSocket#blockMulticastGroup" visbl="pub" data-isabs="false" fullComment="yes" group="Ungrouped">
      <a id="blockMulticastGroup(multicastAddress:String,sourceToBlock:String,handler:org.vertx.scala.core.AsyncResult[org.vertx.scala.core.datagram.DatagramSocket]=&gt;Unit):org.vertx.scala.core.datagram.DatagramSocket"></a>
      <a id="blockMulticastGroup(String,String,(AsyncResult[DatagramSocket])⇒Unit):DatagramSocket"></a>
      <h4 class="signature">
      <span class="modifier_kind">
        <span class="modifier"></span>
        <span class="kind">def</span>
      </span>
      <span class="symbol">
        <span class="name">blockMulticastGroup</span><span class="params">(<span name="multicastAddress">multicastAddress: <span class="extype" name="scala.Predef.String">String</span></span>, <span name="sourceToBlock">sourceToBlock: <span class="extype" name="scala.Predef.String">String</span></span>, <span name="handler">handler: (<a href="../package.html#AsyncResult[T]=org.vertx.java.core.AsyncResult[T]" class="extmbr" name="org.vertx.scala.core.AsyncResult">AsyncResult</a>[<a href="" class="extype" name="org.vertx.scala.core.datagram.DatagramSocket">DatagramSocket</a>]) ⇒ <span class="extype" name="scala.Unit">Unit</span></span>)</span><span class="result">: <a href="" class="extype" name="org.vertx.scala.core.datagram.DatagramSocket">DatagramSocket</a></span>
      </span>
      </h4>
      <p class="shortcomment cmt">Block the given sourceToBlock address for the given multicastAddress and
notifies the handler once the operation completes.</p><div class="fullcomment"><div class="comment cmt"><p>Block the given sourceToBlock address for the given multicastAddress and
notifies the handler once the operation completes.</p></div><dl class="paramcmts block"><dt class="param">multicastAddress</dt><dd class="cmt"><p>the address for which you want to block the sourceToBlock</p></dd><dt class="param">sourceToBlock</dt><dd class="cmt"><p>the source address which should be blocked. You will not receive an multicast packets
                           for it anymore.</p></dd><dt class="param">handler</dt><dd class="cmt"><p>then handler to notify once the operation completes</p></dd><dt>returns</dt><dd class="cmt"><p>this              returns itself for method-chaining
</p></dd></dl></div>
    </li><li name="scala.AnyRef#clone" visbl="prt" data-isabs="false" fullComment="yes" group="Ungrouped">
      <a id="clone():Object"></a>
      <a id="clone():AnyRef"></a>
      <h4 class="signature">
      <span class="modifier_kind">
        <span class="modifier"></span>
        <span class="kind">def</span>
      </span>
      <span class="symbol">
        <span class="name">clone</span><span class="params">()</span><span class="result">: <a href="../../../../../scala/package.html#AnyRef=Object" class="extmbr" name="scala.AnyRef">AnyRef</a></span>
      </span>
      </h4>
      <div class="fullcomment"><dl class="attributes block"> <dt>Attributes</dt><dd>protected[<a href="../../../../../java$lang.html" class="extype" name="java.lang">java.lang</a>] </dd><dt>Definition Classes</dt><dd>AnyRef</dd><dt>Annotations</dt><dd>
                <span class="name">@throws</span><span class="args">(<span>
      
      <span class="defval" name="classOf[java.lang.CloneNotSupportedException]">...</span>
    </span>)</span>
              
        </dd></dl></div>
    </li><li name="org.vertx.scala.core.Closeable#close" visbl="pub" data-isabs="false" fullComment="yes" group="Ungrouped">
      <a id="close(handler:org.vertx.scala.core.AsyncResult[Void]=&gt;Unit):Unit"></a>
      <a id="close((AsyncResult[Void])⇒Unit):Unit"></a>
      <h4 class="signature">
      <span class="modifier_kind">
        <span class="modifier"></span>
        <span class="kind">def</span>
      </span>
      <span class="symbol">
        <span class="name">close</span><span class="params">(<span name="handler">handler: (<a href="../package.html#AsyncResult[T]=org.vertx.java.core.AsyncResult[T]" class="extmbr" name="org.vertx.scala.core.AsyncResult">AsyncResult</a>[<span class="extype" name="java.lang.Void">Void</span>]) ⇒ <span class="extype" name="scala.Unit">Unit</span></span>)</span><span class="result">: <span class="extype" name="scala.Unit">Unit</span></span>
      </span>
      </h4>
      <p class="shortcomment cmt">Close this <a href="../Closeable.html" class="extype" name="org.vertx.scala.core.Closeable">org.vertx.scala.core.Closeable</a> instance asynchronously
and notifies the handler once done.</p><div class="fullcomment"><div class="comment cmt"><p>Close this <a href="../Closeable.html" class="extype" name="org.vertx.scala.core.Closeable">org.vertx.scala.core.Closeable</a> instance asynchronously
and notifies the handler once done.
</p></div><dl class="attributes block"> <dt>Definition Classes</dt><dd><a href="../Closeable.html" class="extype" name="org.vertx.scala.core.Closeable">Closeable</a></dd></dl></div>
    </li><li name="org.vertx.scala.core.Closeable#close" visbl="pub" data-isabs="false" fullComment="yes" group="Ungrouped">
      <a id="close():Unit"></a>
      <a id="close():Unit"></a>
      <h4 class="signature">
      <span class="modifier_kind">
        <span class="modifier"></span>
        <span class="kind">def</span>
      </span>
      <span class="symbol">
        <span class="name">close</span><span class="params">()</span><span class="result">: <span class="extype" name="scala.Unit">Unit</span></span>
      </span>
      </h4>
      <p class="shortcomment cmt">Close this <a href="../Closeable.html" class="extype" name="org.vertx.scala.core.Closeable">org.vertx.scala.core.Closeable</a> instance asynchronously.</p><div class="fullcomment"><div class="comment cmt"><p>Close this <a href="../Closeable.html" class="extype" name="org.vertx.scala.core.Closeable">org.vertx.scala.core.Closeable</a> instance asynchronously.
</p></div><dl class="attributes block"> <dt>Definition Classes</dt><dd><a href="../Closeable.html" class="extype" name="org.vertx.scala.core.Closeable">Closeable</a></dd></dl></div>
    </li><li name="org.vertx.scala.core.datagram.DatagramSocket#dataHandler" visbl="pub" data-isabs="false" fullComment="yes" group="Ungrouped">
      <a id="dataHandler(handler:org.vertx.scala.core.datagram.DatagramPacket=&gt;Unit):DatagramSocket.this.type"></a>
      <a id="dataHandler((DatagramPacket)⇒Unit):DatagramSocket.this.type"></a>
      <h4 class="signature">
      <span class="modifier_kind">
        <span class="modifier"></span>
        <span class="kind">def</span>
      </span>
      <span class="symbol">
        <span class="name">dataHandler</span><span class="params">(<span name="handler">handler: (<a href="DatagramPacket.html" class="extype" name="org.vertx.scala.core.datagram.DatagramPacket">DatagramPacket</a>) ⇒ <span class="extype" name="scala.Unit">Unit</span></span>)</span><span class="result">: <a href="" class="extype" name="org.vertx.scala.core.datagram.DatagramSocket">DatagramSocket</a>.this.type</span>
      </span>
      </h4>
      <p class="shortcomment cmt">Set a data handler.</p><div class="fullcomment"><div class="comment cmt"><p>Set a data handler. As data is read, the handler will be called with the data.
</p></div><dl class="attributes block"> <dt>Definition Classes</dt><dd><a href="" class="extype" name="org.vertx.scala.core.datagram.DatagramSocket">DatagramSocket</a> → <a href="../streams/ReadSupport.html" class="extype" name="org.vertx.scala.core.streams.ReadSupport">ReadSupport</a></dd></dl></div>
    </li><li name="org.vertx.scala.core.streams.DrainSupport#drainHandler" visbl="pub" data-isabs="false" fullComment="yes" group="Ungrouped">
      <a id="drainHandler(handler:=&gt;Unit):DrainSupport.this.type"></a>
      <a id="drainHandler(⇒Unit):DatagramSocket.this.type"></a>
      <h4 class="signature">
      <span class="modifier_kind">
        <span class="modifier"></span>
        <span class="kind">def</span>
      </span>
      <span class="symbol">
        <span class="name">drainHandler</span><span class="params">(<span name="handler">handler: ⇒ <span class="extype" name="scala.Unit">Unit</span></span>)</span><span class="result">: <a href="" class="extype" name="org.vertx.scala.core.datagram.DatagramSocket">DatagramSocket</a>.this.type</span>
      </span>
      </h4>
      <p class="shortcomment cmt">Set a drain handler on the stream.</p><div class="fullcomment"><div class="comment cmt"><p>Set a drain handler on the stream. If the write queue is full, then the
handler will be called when the write queue has been reduced to
maxSize / 2. See <code>Pump</code> for an example of this being used.
</p></div><dl class="attributes block"> <dt>Definition Classes</dt><dd><a href="../streams/DrainSupport.html" class="extype" name="org.vertx.scala.core.streams.DrainSupport">DrainSupport</a></dd></dl></div>
    </li><li name="scala.AnyRef#eq" visbl="pub" data-isabs="false" fullComment="yes" group="Ungrouped">
      <a id="eq(x$1:AnyRef):Boolean"></a>
      <a id="eq(AnyRef):Boolean"></a>
      <h4 class="signature">
      <span class="modifier_kind">
        <span class="modifier">final </span>
        <span class="kind">def</span>
      </span>
      <span class="symbol">
        <span class="name">eq</span><span class="params">(<span name="arg0">arg0: <a href="../../../../../scala/package.html#AnyRef=Object" class="extmbr" name="scala.AnyRef">AnyRef</a></span>)</span><span class="result">: <span class="extype" name="scala.Boolean">Boolean</span></span>
      </span>
      </h4>
      <div class="fullcomment"><dl class="attributes block"> <dt>Definition Classes</dt><dd>AnyRef</dd></dl></div>
    </li><li name="scala.AnyRef#equals" visbl="pub" data-isabs="false" fullComment="yes" group="Ungrouped">
      <a id="equals(x$1:Any):Boolean"></a>
      <a id="equals(Any):Boolean"></a>
      <h4 class="signature">
      <span class="modifier_kind">
        <span class="modifier"></span>
        <span class="kind">def</span>
      </span>
      <span class="symbol">
        <span class="name">equals</span><span class="params">(<span name="arg0">arg0: <span class="extype" name="scala.Any">Any</span></span>)</span><span class="result">: <span class="extype" name="scala.Boolean">Boolean</span></span>
      </span>
      </h4>
      <div class="fullcomment"><dl class="attributes block"> <dt>Definition Classes</dt><dd>AnyRef → Any</dd></dl></div>
    </li><li name="org.vertx.scala.core.streams.ExceptionSupport#exceptionHandler" visbl="pub" data-isabs="false" fullComment="yes" group="Ungrouped">
      <a id="exceptionHandler(handler:Throwable=&gt;Unit):ExceptionSupport.this.type"></a>
      <a id="exceptionHandler((Throwable)⇒Unit):DatagramSocket.this.type"></a>
      <h4 class="signature">
      <span class="modifier_kind">
        <span class="modifier"></span>
        <span class="kind">def</span>
      </span>
      <span class="symbol">
        <span class="name">exceptionHandler</span><span class="params">(<span name="handler">handler: (<a href="../../../../../scala/package.html#Throwable=Throwable" class="extmbr" name="scala.Throwable">Throwable</a>) ⇒ <span class="extype" name="scala.Unit">Unit</span></span>)</span><span class="result">: <a href="" class="extype" name="org.vertx.scala.core.datagram.DatagramSocket">DatagramSocket</a>.this.type</span>
      </span>
      </h4>
      <p class="shortcomment cmt">Set an exception handler.</p><div class="fullcomment"><div class="comment cmt"><p>Set an exception handler.
</p></div><dl class="attributes block"> <dt>Definition Classes</dt><dd><a href="../streams/ExceptionSupport.html" class="extype" name="org.vertx.scala.core.streams.ExceptionSupport">ExceptionSupport</a></dd></dl></div>
    </li><li name="scala.AnyRef#finalize" visbl="prt" data-isabs="false" fullComment="yes" group="Ungrouped">
      <a id="finalize():Unit"></a>
      <a id="finalize():Unit"></a>
      <h4 class="signature">
      <span class="modifier_kind">
        <span class="modifier"></span>
        <span class="kind">def</span>
      </span>
      <span class="symbol">
        <span class="name">finalize</span><span class="params">()</span><span class="result">: <span class="extype" name="scala.Unit">Unit</span></span>
      </span>
      </h4>
      <div class="fullcomment"><dl class="attributes block"> <dt>Attributes</dt><dd>protected[<a href="../../../../../java$lang.html" class="extype" name="java.lang">java.lang</a>] </dd><dt>Definition Classes</dt><dd>AnyRef</dd><dt>Annotations</dt><dd>
                <span class="name">@throws</span><span class="args">(<span>
      
      <span class="symbol">classOf[java.lang.Throwable]</span>
    </span>)</span>
              
        </dd></dl></div>
    </li><li name="scala.AnyRef#getClass" visbl="pub" data-isabs="false" fullComment="yes" group="Ungrouped">
      <a id="getClass():Class[_]"></a>
      <a id="getClass():Class[_]"></a>
      <h4 class="signature">
      <span class="modifier_kind">
        <span class="modifier">final </span>
        <span class="kind">def</span>
      </span>
      <span class="symbol">
        <span class="name">getClass</span><span class="params">()</span><span class="result">: <span class="extype" name="java.lang.Class">Class</span>[_]</span>
      </span>
      </h4>
      <div class="fullcomment"><dl class="attributes block"> <dt>Definition Classes</dt><dd>AnyRef → Any</dd></dl></div>
    </li><li name="org.vertx.scala.core.datagram.DatagramSocket#getMulticastNetworkInterface" visbl="pub" data-isabs="false" fullComment="no" group="Ungrouped">
      <a id="getMulticastNetworkInterface:String"></a>
      <a id="getMulticastNetworkInterface:String"></a>
      <h4 class="signature">
      <span class="modifier_kind">
        <span class="modifier"></span>
        <span class="kind">def</span>
      </span>
      <span class="symbol">
        <span class="name">getMulticastNetworkInterface</span><span class="result">: <span class="extype" name="scala.Predef.String">String</span></span>
      </span>
      </h4>
      <p class="shortcomment cmt">Gets the <span class="extype" name="java.net.StandardSocketOptions.IP_MULTICAST_IF">java.net.StandardSocketOptions.IP_MULTICAST_IF</span> option.</p>
    </li><li name="org.vertx.scala.core.datagram.DatagramSocket#getMulticastTimeToLive" visbl="pub" data-isabs="false" fullComment="no" group="Ungrouped">
      <a id="getMulticastTimeToLive:Int"></a>
      <a id="getMulticastTimeToLive:Int"></a>
      <h4 class="signature">
      <span class="modifier_kind">
        <span class="modifier"></span>
        <span class="kind">def</span>
      </span>
      <span class="symbol">
        <span class="name">getMulticastTimeToLive</span><span class="result">: <span class="extype" name="scala.Int">Int</span></span>
      </span>
      </h4>
      <p class="shortcomment cmt">Gets the <span class="extype" name="java.net.StandardSocketOptions.IP_MULTICAST_TTL">java.net.StandardSocketOptions.IP_MULTICAST_TTL</span> option.</p>
    </li><li name="org.vertx.scala.core.NetworkSupport#getReceiveBufferSize" visbl="pub" data-isabs="false" fullComment="yes" group="Ungrouped">
      <a id="getReceiveBufferSize:Int"></a>
      <a id="getReceiveBufferSize:Int"></a>
      <h4 class="signature">
      <span class="modifier_kind">
        <span class="modifier"></span>
        <span class="kind">def</span>
      </span>
      <span class="symbol">
        <span class="name">getReceiveBufferSize</span><span class="result">: <span class="extype" name="scala.Int">Int</span></span>
      </span>
      </h4>
      <p class="shortcomment cmt"></p><div class="fullcomment"><div class="comment cmt"></div><dl class="paramcmts block"><dt>returns</dt><dd class="cmt"><p>The receive buffer size
</p></dd></dl><dl class="attributes block"> <dt>Definition Classes</dt><dd><a href="../NetworkSupport.html" class="extype" name="org.vertx.scala.core.NetworkSupport">NetworkSupport</a></dd></dl></div>
    </li><li name="org.vertx.scala.core.NetworkSupport#getSendBufferSize" visbl="pub" data-isabs="false" fullComment="yes" group="Ungrouped">
      <a id="getSendBufferSize:Int"></a>
      <a id="getSendBufferSize:Int"></a>
      <h4 class="signature">
      <span class="modifier_kind">
        <span class="modifier"></span>
        <span class="kind">def</span>
      </span>
      <span class="symbol">
        <span class="name">getSendBufferSize</span><span class="result">: <span class="extype" name="scala.Int">Int</span></span>
      </span>
      </h4>
      <p class="shortcomment cmt"></p><div class="fullcomment"><div class="comment cmt"></div><dl class="paramcmts block"><dt>returns</dt><dd class="cmt"><p>The send buffer size
</p></dd></dl><dl class="attributes block"> <dt>Definition Classes</dt><dd><a href="../NetworkSupport.html" class="extype" name="org.vertx.scala.core.NetworkSupport">NetworkSupport</a></dd></dl></div>
    </li><li name="org.vertx.scala.core.NetworkSupport#getTrafficClass" visbl="pub" data-isabs="false" fullComment="yes" group="Ungrouped">
      <a id="getTrafficClass:Int"></a>
      <a id="getTrafficClass:Int"></a>
      <h4 class="signature">
      <span class="modifier_kind">
        <span class="modifier"></span>
        <span class="kind">def</span>
      </span>
      <span class="symbol">
        <span class="name">getTrafficClass</span><span class="result">: <span class="extype" name="scala.Int">Int</span></span>
      </span>
      </h4>
      <p class="shortcomment cmt"></p><div class="fullcomment"><div class="comment cmt"></div><dl class="paramcmts block"><dt>returns</dt><dd class="cmt"><p>the value of traffic class
</p></dd></dl><dl class="attributes block"> <dt>Definition Classes</dt><dd><a href="../NetworkSupport.html" class="extype" name="org.vertx.scala.core.NetworkSupport">NetworkSupport</a></dd></dl></div>
    </li><li name="scala.AnyRef#hashCode" visbl="pub" data-isabs="false" fullComment="yes" group="Ungrouped">
      <a id="hashCode():Int"></a>
      <a id="hashCode():Int"></a>
      <h4 class="signature">
      <span class="modifier_kind">
        <span class="modifier"></span>
        <span class="kind">def</span>
      </span>
      <span class="symbol">
        <span class="name">hashCode</span><span class="params">()</span><span class="result">: <span class="extype" name="scala.Int">Int</span></span>
      </span>
      </h4>
      <div class="fullcomment"><dl class="attributes block"> <dt>Definition Classes</dt><dd>AnyRef → Any</dd></dl></div>
    </li><li name="org.vertx.scala.core.datagram.DatagramSocket#isBroadcast" visbl="pub" data-isabs="false" fullComment="no" group="Ungrouped">
      <a id="isBroadcast:Boolean"></a>
      <a id="isBroadcast:Boolean"></a>
      <h4 class="signature">
      <span class="modifier_kind">
        <span class="modifier"></span>
        <span class="kind">def</span>
      </span>
      <span class="symbol">
        <span class="name">isBroadcast</span><span class="result">: <span class="extype" name="scala.Boolean">Boolean</span></span>
      </span>
      </h4>
      <p class="shortcomment cmt">Gets the <span class="extype" name="java.net.StandardSocketOptions.SO_BROADCAST">java.net.StandardSocketOptions.SO_BROADCAST</span> option.</p>
    </li><li name="scala.Any#isInstanceOf" visbl="pub" data-isabs="false" fullComment="yes" group="Ungrouped">
      <a id="isInstanceOf[T0]:Boolean"></a>
      <a id="isInstanceOf[T0]:Boolean"></a>
      <h4 class="signature">
      <span class="modifier_kind">
        <span class="modifier">final </span>
        <span class="kind">def</span>
      </span>
      <span class="symbol">
        <span class="name">isInstanceOf</span><span class="tparams">[<span name="T0">T0</span>]</span><span class="result">: <span class="extype" name="scala.Boolean">Boolean</span></span>
      </span>
      </h4>
      <div class="fullcomment"><dl class="attributes block"> <dt>Definition Classes</dt><dd>Any</dd></dl></div>
    </li><li name="org.vertx.scala.core.datagram.DatagramSocket#isMulticastLoopbackMode" visbl="pub" data-isabs="false" fullComment="yes" group="Ungrouped">
      <a id="isMulticastLoopbackMode:Boolean"></a>
      <a id="isMulticastLoopbackMode:Boolean"></a>
      <h4 class="signature">
      <span class="modifier_kind">
        <span class="modifier"></span>
        <span class="kind">def</span>
      </span>
      <span class="symbol">
        <span class="name">isMulticastLoopbackMode</span><span class="result">: <span class="extype" name="scala.Boolean">Boolean</span></span>
      </span>
      </h4>
      <p class="shortcomment cmt">Gets the <span class="extype" name="java.net.StandardSocketOptions.IP_MULTICAST_LOOP">java.net.StandardSocketOptions.IP_MULTICAST_LOOP</span> option.</p><div class="fullcomment"><div class="comment cmt"><p>Gets the <span class="extype" name="java.net.StandardSocketOptions.IP_MULTICAST_LOOP">java.net.StandardSocketOptions.IP_MULTICAST_LOOP</span> option.
</p></div><dl class="paramcmts block"><dt>returns</dt><dd class="cmt"><p><code>true</code> if and only if the loopback mode has been disabled
</p></dd></dl></div>
    </li><li name="org.vertx.scala.core.NetworkSupport#isReuseAddress" visbl="pub" data-isabs="false" fullComment="yes" group="Ungrouped">
      <a id="isReuseAddress:Boolean"></a>
      <a id="isReuseAddress:Boolean"></a>
      <h4 class="signature">
      <span class="modifier_kind">
        <span class="modifier"></span>
        <span class="kind">def</span>
      </span>
      <span class="symbol">
        <span class="name">isReuseAddress</span><span class="result">: <span class="extype" name="scala.Boolean">Boolean</span></span>
      </span>
      </h4>
      <p class="shortcomment cmt"></p><div class="fullcomment"><div class="comment cmt"></div><dl class="paramcmts block"><dt>returns</dt><dd class="cmt"><p>The value of reuse address
</p></dd></dl><dl class="attributes block"> <dt>Definition Classes</dt><dd><a href="../NetworkSupport.html" class="extype" name="org.vertx.scala.core.NetworkSupport">NetworkSupport</a></dd></dl></div>
    </li><li name="org.vertx.scala.core.datagram.DatagramSocket#listen" visbl="pub" data-isabs="false" fullComment="yes" group="Ungrouped">
      <a id="listen(local:java.net.InetSocketAddress,handler:org.vertx.scala.core.AsyncResult[org.vertx.scala.core.datagram.DatagramSocket]=&gt;Unit):org.vertx.scala.core.datagram.DatagramSocket"></a>
      <a id="listen(InetSocketAddress,(AsyncResult[DatagramSocket])⇒Unit):DatagramSocket"></a>
      <h4 class="signature">
      <span class="modifier_kind">
        <span class="modifier"></span>
        <span class="kind">def</span>
      </span>
      <span class="symbol">
        <span class="name">listen</span><span class="params">(<span name="local">local: <span class="extype" name="java.net.InetSocketAddress">InetSocketAddress</span></span>, <span name="handler">handler: (<a href="../package.html#AsyncResult[T]=org.vertx.java.core.AsyncResult[T]" class="extmbr" name="org.vertx.scala.core.AsyncResult">AsyncResult</a>[<a href="" class="extype" name="org.vertx.scala.core.datagram.DatagramSocket">DatagramSocket</a>]) ⇒ <span class="extype" name="scala.Unit">Unit</span></span>)</span><span class="result">: <a href="" class="extype" name="org.vertx.scala.core.datagram.DatagramSocket">DatagramSocket</a></span>
      </span>
      </h4>
      <p class="shortcomment cmt">Makes this <a href="" class="extype" name="org.vertx.scala.core.datagram.DatagramSocket">org.vertx.scala.core.datagram.DatagramSocket</a>} listen to
the given <span class="extype" name="java.net.InetSocketAddress">java.net.InetSocketAddress</span>.</p><div class="fullcomment"><div class="comment cmt"><p>Makes this <a href="" class="extype" name="org.vertx.scala.core.datagram.DatagramSocket">org.vertx.scala.core.datagram.DatagramSocket</a>} listen to
the given <span class="extype" name="java.net.InetSocketAddress">java.net.InetSocketAddress</span>. Once the operation completes
the handler is notified.
</p></div><dl class="paramcmts block"><dt class="param">local</dt><dd class="cmt"><p>the <span class="extype" name="java.net.InetSocketAddress">java.net.InetSocketAddress</span> on which the
                 <a href="" class="extype" name="org.vertx.scala.core.datagram.DatagramSocket">org.vertx.scala.core.datagram.DatagramSocket</a> will
                 listen for <a href="DatagramPacket.html" class="extype" name="org.vertx.scala.core.datagram.DatagramPacket">org.vertx.scala.core.datagram.DatagramPacket</a>}s.</p></dd><dt class="param">handler</dt><dd class="cmt"><p>the handler to notify once the operation completes</p></dd><dt>returns</dt><dd class="cmt"><p>this     itself for method-chaining
</p></dd></dl></div>
    </li><li name="org.vertx.scala.core.datagram.DatagramSocket#listen" visbl="pub" data-isabs="false" fullComment="yes" group="Ungrouped">
      <a id="listen(port:Int,handler:org.vertx.scala.core.AsyncResult[org.vertx.scala.core.datagram.DatagramSocket]=&gt;Unit):org.vertx.scala.core.datagram.DatagramSocket"></a>
      <a id="listen(Int,(AsyncResult[DatagramSocket])⇒Unit):DatagramSocket"></a>
      <h4 class="signature">
      <span class="modifier_kind">
        <span class="modifier"></span>
        <span class="kind">def</span>
      </span>
      <span class="symbol">
        <span class="name">listen</span><span class="params">(<span name="port">port: <span class="extype" name="scala.Int">Int</span></span>, <span name="handler">handler: (<a href="../package.html#AsyncResult[T]=org.vertx.java.core.AsyncResult[T]" class="extmbr" name="org.vertx.scala.core.AsyncResult">AsyncResult</a>[<a href="" class="extype" name="org.vertx.scala.core.datagram.DatagramSocket">DatagramSocket</a>]) ⇒ <span class="extype" name="scala.Unit">Unit</span></span>)</span><span class="result">: <a href="" class="extype" name="org.vertx.scala.core.datagram.DatagramSocket">DatagramSocket</a></span>
      </span>
      </h4>
      <p class="shortcomment cmt"></p><div class="fullcomment"><div class="comment cmt"></div><dl class="attributes block"> <dt>See also</dt><dd><span class="cmt"><p><span class="extype" name="org.vertx.scala.core.datagram.DatagramSocket.listen(java.net.InetSocketAddress,">org.vertx.java.core.Handler)</span>
</p></span></dd></dl></div>
    </li><li name="org.vertx.scala.core.datagram.DatagramSocket#listen" visbl="pub" data-isabs="false" fullComment="yes" group="Ungrouped">
      <a id="listen(address:String,port:Int,handler:org.vertx.scala.core.AsyncResult[org.vertx.scala.core.datagram.DatagramSocket]=&gt;Unit):org.vertx.scala.core.datagram.DatagramSocket"></a>
      <a id="listen(String,Int,(AsyncResult[DatagramSocket])⇒Unit):DatagramSocket"></a>
      <h4 class="signature">
      <span class="modifier_kind">
        <span class="modifier"></span>
        <span class="kind">def</span>
      </span>
      <span class="symbol">
        <span class="name">listen</span><span class="params">(<span name="address">address: <span class="extype" name="scala.Predef.String">String</span></span>, <span name="port">port: <span class="extype" name="scala.Int">Int</span></span>, <span name="handler">handler: (<a href="../package.html#AsyncResult[T]=org.vertx.java.core.AsyncResult[T]" class="extmbr" name="org.vertx.scala.core.AsyncResult">AsyncResult</a>[<a href="" class="extype" name="org.vertx.scala.core.datagram.DatagramSocket">DatagramSocket</a>]) ⇒ <span class="extype" name="scala.Unit">Unit</span></span>)</span><span class="result">: <a href="" class="extype" name="org.vertx.scala.core.datagram.DatagramSocket">DatagramSocket</a></span>
      </span>
      </h4>
      <p class="shortcomment cmt"></p><div class="fullcomment"><div class="comment cmt"></div><dl class="attributes block"> <dt>See also</dt><dd><span class="cmt"><p><span class="extype" name="org.vertx.scala.core.datagram.DatagramSocket.listen(java.net.InetSocketAddress,">org.vertx.java.core.Handler)</span>
</p></span></dd></dl></div>
    </li><li name="org.vertx.scala.core.datagram.DatagramSocket#listenMulticastGroup" visbl="pub" data-isabs="false" fullComment="yes" group="Ungrouped">
      <a id="listenMulticastGroup(multicastAddress:String,networkInterface:String,source:String,handler:org.vertx.scala.core.AsyncResult[org.vertx.scala.core.datagram.DatagramSocket]=&gt;Unit):org.vertx.scala.core.datagram.DatagramSocket"></a>
      <a id="listenMulticastGroup(String,String,String,(AsyncResult[DatagramSocket])⇒Unit):DatagramSocket"></a>
      <h4 class="signature">
      <span class="modifier_kind">
        <span class="modifier"></span>
        <span class="kind">def</span>
      </span>
      <span class="symbol">
        <span class="name">listenMulticastGroup</span><span class="params">(<span name="multicastAddress">multicastAddress: <span class="extype" name="scala.Predef.String">String</span></span>, <span name="networkInterface">networkInterface: <span class="extype" name="scala.Predef.String">String</span></span>, <span name="source">source: <span class="extype" name="scala.Predef.String">String</span></span>, <span name="handler">handler: (<a href="../package.html#AsyncResult[T]=org.vertx.java.core.AsyncResult[T]" class="extmbr" name="org.vertx.scala.core.AsyncResult">AsyncResult</a>[<a href="" class="extype" name="org.vertx.scala.core.datagram.DatagramSocket">DatagramSocket</a>]) ⇒ <span class="extype" name="scala.Unit">Unit</span></span>)</span><span class="result">: <a href="" class="extype" name="org.vertx.scala.core.datagram.DatagramSocket">DatagramSocket</a></span>
      </span>
      </h4>
      <p class="shortcomment cmt">Joins a multicast group and so start listen for packets send to it on
the given network interface.</p><div class="fullcomment"><div class="comment cmt"><p>Joins a multicast group and so start listen for packets send to it on
the given network interface. The handler is notified once the operation completes.</p></div><dl class="paramcmts block"><dt class="param">multicastAddress</dt><dd class="cmt"><p>the address of the multicast group to join</p></dd><dt class="param">networkInterface</dt><dd class="cmt"><p>the network interface on which to listen for packets.</p></dd><dt class="param">source</dt><dd class="cmt"><p>the address of the source for which we will listen for mulicast packets</p></dd><dt class="param">handler</dt><dd class="cmt"><p>then handler to notify once the operation completes</p></dd><dt>returns</dt><dd class="cmt"><p>this              returns itself for method-chaining
</p></dd></dl></div>
    </li><li name="org.vertx.scala.core.datagram.DatagramSocket#listenMulticastGroup" visbl="pub" data-isabs="false" fullComment="yes" group="Ungrouped">
      <a id="listenMulticastGroup(multicastAddress:String,handler:org.vertx.scala.core.AsyncResult[org.vertx.scala.core.datagram.DatagramSocket]=&gt;Unit):org.vertx.scala.core.datagram.DatagramSocket"></a>
      <a id="listenMulticastGroup(String,(AsyncResult[DatagramSocket])⇒Unit):DatagramSocket"></a>
      <h4 class="signature">
      <span class="modifier_kind">
        <span class="modifier"></span>
        <span class="kind">def</span>
      </span>
      <span class="symbol">
        <span class="name">listenMulticastGroup</span><span class="params">(<span name="multicastAddress">multicastAddress: <span class="extype" name="scala.Predef.String">String</span></span>, <span name="handler">handler: (<a href="../package.html#AsyncResult[T]=org.vertx.java.core.AsyncResult[T]" class="extmbr" name="org.vertx.scala.core.AsyncResult">AsyncResult</a>[<a href="" class="extype" name="org.vertx.scala.core.datagram.DatagramSocket">DatagramSocket</a>]) ⇒ <span class="extype" name="scala.Unit">Unit</span></span>)</span><span class="result">: <a href="" class="extype" name="org.vertx.scala.core.datagram.DatagramSocket">DatagramSocket</a></span>
      </span>
      </h4>
      <p class="shortcomment cmt">Joins a multicast group and so start listen for packets send to it.</p><div class="fullcomment"><div class="comment cmt"><p>Joins a multicast group and so start listen for packets send to it.
The handler is notified once the operation completes.
</p></div><dl class="paramcmts block"><dt class="param">multicastAddress</dt><dd class="cmt"><p>the address of the multicast group to join</p></dd><dt class="param">handler</dt><dd class="cmt"><p>then handler to notify once the operation completes</p></dd><dt>returns</dt><dd class="cmt"><p>this              returns itself for method-chaining
</p></dd></dl></div>
    </li><li name="org.vertx.scala.core.datagram.DatagramSocket#localAddress" visbl="pub" data-isabs="false" fullComment="no" group="Ungrouped">
      <a id="localAddress():java.net.InetSocketAddress"></a>
      <a id="localAddress():InetSocketAddress"></a>
      <h4 class="signature">
      <span class="modifier_kind">
        <span class="modifier"></span>
        <span class="kind">def</span>
      </span>
      <span class="symbol">
        <span class="name">localAddress</span><span class="params">()</span><span class="result">: <span class="extype" name="java.net.InetSocketAddress">InetSocketAddress</span></span>
      </span>
      </h4>
      <p class="shortcomment cmt">Return the <span class="extype" name="java.net.InetSocketAddress">java.net.InetSocketAddress</span> to which this
<a href="" class="extype" name="org.vertx.scala.core.datagram.DatagramSocket">org.vertx.scala.core.datagram.DatagramSocket</a> is bound too.</p>
    </li><li name="scala.AnyRef#ne" visbl="pub" data-isabs="false" fullComment="yes" group="Ungrouped">
      <a id="ne(x$1:AnyRef):Boolean"></a>
      <a id="ne(AnyRef):Boolean"></a>
      <h4 class="signature">
      <span class="modifier_kind">
        <span class="modifier">final </span>
        <span class="kind">def</span>
      </span>
      <span class="symbol">
        <span class="name">ne</span><span class="params">(<span name="arg0">arg0: <a href="../../../../../scala/package.html#AnyRef=Object" class="extmbr" name="scala.AnyRef">AnyRef</a></span>)</span><span class="result">: <span class="extype" name="scala.Boolean">Boolean</span></span>
      </span>
      </h4>
      <div class="fullcomment"><dl class="attributes block"> <dt>Definition Classes</dt><dd>AnyRef</dd></dl></div>
    </li><li name="scala.AnyRef#notify" visbl="pub" data-isabs="false" fullComment="yes" group="Ungrouped">
      <a id="notify():Unit"></a>
      <a id="notify():Unit"></a>
      <h4 class="signature">
      <span class="modifier_kind">
        <span class="modifier">final </span>
        <span class="kind">def</span>
      </span>
      <span class="symbol">
        <span class="name">notify</span><span class="params">()</span><span class="result">: <span class="extype" name="scala.Unit">Unit</span></span>
      </span>
      </h4>
      <div class="fullcomment"><dl class="attributes block"> <dt>Definition Classes</dt><dd>AnyRef</dd></dl></div>
    </li><li name="scala.AnyRef#notifyAll" visbl="pub" data-isabs="false" fullComment="yes" group="Ungrouped">
      <a id="notifyAll():Unit"></a>
      <a id="notifyAll():Unit"></a>
      <h4 class="signature">
      <span class="modifier_kind">
        <span class="modifier">final </span>
        <span class="kind">def</span>
      </span>
      <span class="symbol">
        <span class="name">notifyAll</span><span class="params">()</span><span class="result">: <span class="extype" name="scala.Unit">Unit</span></span>
      </span>
      </h4>
      <div class="fullcomment"><dl class="attributes block"> <dt>Definition Classes</dt><dd>AnyRef</dd></dl></div>
    </li><li name="org.vertx.scala.core.streams.ReadSupport#pause" visbl="pub" data-isabs="false" fullComment="yes" group="Ungrouped">
      <a id="pause():ReadSupport.this.type"></a>
      <a id="pause():DatagramSocket.this.type"></a>
      <h4 class="signature">
      <span class="modifier_kind">
        <span class="modifier"></span>
        <span class="kind">def</span>
      </span>
      <span class="symbol">
        <span class="name">pause</span><span class="params">()</span><span class="result">: <a href="" class="extype" name="org.vertx.scala.core.datagram.DatagramSocket">DatagramSocket</a>.this.type</span>
      </span>
      </h4>
      <p class="shortcomment cmt">Pause the <code>ReadSupport</code>.</p><div class="fullcomment"><div class="comment cmt"><p>Pause the <code>ReadSupport</code>. While it's paused, no data will be sent to the <code>dataHandler</code>
</p></div><dl class="attributes block"> <dt>Definition Classes</dt><dd><a href="../streams/ReadSupport.html" class="extype" name="org.vertx.scala.core.streams.ReadSupport">ReadSupport</a></dd></dl></div>
    </li><li name="org.vertx.scala.core.streams.ReadSupport#resume" visbl="pub" data-isabs="false" fullComment="yes" group="Ungrouped">
      <a id="resume():ReadSupport.this.type"></a>
      <a id="resume():DatagramSocket.this.type"></a>
      <h4 class="signature">
      <span class="modifier_kind">
        <span class="modifier"></span>
        <span class="kind">def</span>
      </span>
      <span class="symbol">
        <span class="name">resume</span><span class="params">()</span><span class="result">: <a href="" class="extype" name="org.vertx.scala.core.datagram.DatagramSocket">DatagramSocket</a>.this.type</span>
      </span>
      </h4>
      <p class="shortcomment cmt">Resume reading.</p><div class="fullcomment"><div class="comment cmt"><p>Resume reading. If the <code>ReadSupport</code> has been paused, reading will recommence on it.
</p></div><dl class="attributes block"> <dt>Definition Classes</dt><dd><a href="../streams/ReadSupport.html" class="extype" name="org.vertx.scala.core.streams.ReadSupport">ReadSupport</a></dd></dl></div>
    </li><li name="org.vertx.scala.core.datagram.DatagramSocket#send" visbl="pub" data-isabs="false" fullComment="yes" group="Ungrouped">
      <a id="send(str:String,enc:String,host:String,port:Int,handler:org.vertx.scala.core.AsyncResult[org.vertx.scala.core.datagram.DatagramSocket]=&gt;Unit):org.vertx.scala.core.datagram.DatagramSocket"></a>
      <a id="send(String,String,String,Int,(AsyncResult[DatagramSocket])⇒Unit):DatagramSocket"></a>
      <h4 class="signature">
      <span class="modifier_kind">
        <span class="modifier"></span>
        <span class="kind">def</span>
      </span>
      <span class="symbol">
        <span class="name">send</span><span class="params">(<span name="str">str: <span class="extype" name="scala.Predef.String">String</span></span>, <span name="enc">enc: <span class="extype" name="scala.Predef.String">String</span></span>, <span name="host">host: <span class="extype" name="scala.Predef.String">String</span></span>, <span name="port">port: <span class="extype" name="scala.Int">Int</span></span>, <span name="handler">handler: (<a href="../package.html#AsyncResult[T]=org.vertx.java.core.AsyncResult[T]" class="extmbr" name="org.vertx.scala.core.AsyncResult">AsyncResult</a>[<a href="" class="extype" name="org.vertx.scala.core.datagram.DatagramSocket">DatagramSocket</a>]) ⇒ <span class="extype" name="scala.Unit">Unit</span></span>)</span><span class="result">: <a href="" class="extype" name="org.vertx.scala.core.datagram.DatagramSocket">DatagramSocket</a></span>
      </span>
      </h4>
      <p class="shortcomment cmt">Write the given String to the <span class="extype" name="java.net.InetSocketAddress">java.net.InetSocketAddress</span> using the given encoding.</p><div class="fullcomment"><div class="comment cmt"><p>Write the given String to the <span class="extype" name="java.net.InetSocketAddress">java.net.InetSocketAddress</span> using the given encoding.
The handler will be notified once write completes.
</p></div><dl class="paramcmts block"><dt class="param">str</dt><dd class="cmt"><p>the String to write</p></dd><dt class="param">enc</dt><dd class="cmt"><p>the charset used for encoding</p></dd><dt class="param">host</dt><dd class="cmt"><p>the host address of the remote peer</p></dd><dt class="param">port</dt><dd class="cmt"><p>the host port of the remote peer</p></dd><dt class="param">handler</dt><dd class="cmt"><p>the handler to notify once the write completes.</p></dd><dt>returns</dt><dd class="cmt"><p>self     itself for method chaining
</p></dd></dl></div>
    </li><li name="org.vertx.scala.core.datagram.DatagramSocket#send" visbl="pub" data-isabs="false" fullComment="yes" group="Ungrouped">
      <a id="send(str:String,host:String,port:Int,handler:org.vertx.scala.core.AsyncResult[org.vertx.scala.core.datagram.DatagramSocket]=&gt;Unit):org.vertx.scala.core.datagram.DatagramSocket"></a>
      <a id="send(String,String,Int,(AsyncResult[DatagramSocket])⇒Unit):DatagramSocket"></a>
      <h4 class="signature">
      <span class="modifier_kind">
        <span class="modifier"></span>
        <span class="kind">def</span>
      </span>
      <span class="symbol">
        <span class="name">send</span><span class="params">(<span name="str">str: <span class="extype" name="scala.Predef.String">String</span></span>, <span name="host">host: <span class="extype" name="scala.Predef.String">String</span></span>, <span name="port">port: <span class="extype" name="scala.Int">Int</span></span>, <span name="handler">handler: (<a href="../package.html#AsyncResult[T]=org.vertx.java.core.AsyncResult[T]" class="extmbr" name="org.vertx.scala.core.AsyncResult">AsyncResult</a>[<a href="" class="extype" name="org.vertx.scala.core.datagram.DatagramSocket">DatagramSocket</a>]) ⇒ <span class="extype" name="scala.Unit">Unit</span></span>)</span><span class="result">: <a href="" class="extype" name="org.vertx.scala.core.datagram.DatagramSocket">DatagramSocket</a></span>
      </span>
      </h4>
      <p class="shortcomment cmt">Write the given String to the <span class="extype" name="java.net.InetSocketAddress">java.net.InetSocketAddress</span>.</p><div class="fullcomment"><div class="comment cmt"><p>Write the given String to the <span class="extype" name="java.net.InetSocketAddress">java.net.InetSocketAddress</span>.
The handler will be notified once write completes.
</p></div><dl class="paramcmts block"><dt class="param">str</dt><dd class="cmt"><p>the String to write</p></dd><dt class="param">host</dt><dd class="cmt"><p>the host address of the remote peer</p></dd><dt class="param">port</dt><dd class="cmt"><p>the host port of the remote peer</p></dd><dt class="param">handler</dt><dd class="cmt"><p>the handler to notify once the write completes.</p></dd><dt>returns</dt><dd class="cmt"><p>self     itself for method chaining
</p></dd></dl></div>
    </li><li name="org.vertx.scala.core.datagram.DatagramSocket#send" visbl="pub" data-isabs="false" fullComment="yes" group="Ungrouped">
      <a id="send(packet:org.vertx.scala.core.buffer.Buffer,host:String,port:Int,handler:org.vertx.scala.core.AsyncResult[org.vertx.scala.core.datagram.DatagramSocket]=&gt;Unit):org.vertx.scala.core.datagram.DatagramSocket"></a>
      <a id="send(Buffer,String,Int,(AsyncResult[DatagramSocket])⇒Unit):DatagramSocket"></a>
      <h4 class="signature">
      <span class="modifier_kind">
        <span class="modifier"></span>
        <span class="kind">def</span>
      </span>
      <span class="symbol">
        <span class="name">send</span><span class="params">(<span name="packet">packet: <a href="../buffer/Buffer.html" class="extype" name="org.vertx.scala.core.buffer.Buffer">Buffer</a></span>, <span name="host">host: <span class="extype" name="scala.Predef.String">String</span></span>, <span name="port">port: <span class="extype" name="scala.Int">Int</span></span>, <span name="handler">handler: (<a href="../package.html#AsyncResult[T]=org.vertx.java.core.AsyncResult[T]" class="extmbr" name="org.vertx.scala.core.AsyncResult">AsyncResult</a>[<a href="" class="extype" name="org.vertx.scala.core.datagram.DatagramSocket">DatagramSocket</a>]) ⇒ <span class="extype" name="scala.Unit">Unit</span></span>)</span><span class="result">: <a href="" class="extype" name="org.vertx.scala.core.datagram.DatagramSocket">DatagramSocket</a></span>
      </span>
      </h4>
      <p class="shortcomment cmt">Write the given <a href="../buffer/Buffer.html" class="extype" name="org.vertx.scala.core.buffer.Buffer">org.vertx.scala.core.buffer.Buffer</a> to the <span class="extype" name="java.net.InetSocketAddress">java.net.InetSocketAddress</span>.</p><div class="fullcomment"><div class="comment cmt"><p>Write the given <a href="../buffer/Buffer.html" class="extype" name="org.vertx.scala.core.buffer.Buffer">org.vertx.scala.core.buffer.Buffer</a> to the <span class="extype" name="java.net.InetSocketAddress">java.net.InetSocketAddress</span>.
The handler will be notified once write completes.
</p></div><dl class="paramcmts block"><dt class="param">packet</dt><dd class="cmt"><p>the <a href="../buffer/Buffer.html" class="extype" name="org.vertx.scala.core.buffer.Buffer">org.vertx.scala.core.buffer.Buffer</a> to write</p></dd><dt class="param">host</dt><dd class="cmt"><p>the host address of the remote peer</p></dd><dt class="param">port</dt><dd class="cmt"><p>the host port of the remote peer</p></dd><dt class="param">handler</dt><dd class="cmt"><p>the handler to notify once the write completes.</p></dd><dt>returns</dt><dd class="cmt"><p>self     itself for method chaining
</p></dd></dl></div>
    </li><li name="org.vertx.scala.core.datagram.DatagramSocket#setBroadcast" visbl="pub" data-isabs="false" fullComment="no" group="Ungrouped">
      <a id="setBroadcast(broadcast:Boolean):org.vertx.scala.core.datagram.DatagramSocket"></a>
      <a id="setBroadcast(Boolean):DatagramSocket"></a>
      <h4 class="signature">
      <span class="modifier_kind">
        <span class="modifier"></span>
        <span class="kind">def</span>
      </span>
      <span class="symbol">
        <span class="name">setBroadcast</span><span class="params">(<span name="broadcast">broadcast: <span class="extype" name="scala.Boolean">Boolean</span></span>)</span><span class="result">: <a href="" class="extype" name="org.vertx.scala.core.datagram.DatagramSocket">DatagramSocket</a></span>
      </span>
      </h4>
      <p class="shortcomment cmt">Sets the <span class="extype" name="java.net.StandardSocketOptions.SO_BROADCAST">java.net.StandardSocketOptions.SO_BROADCAST</span> option.</p>
    </li><li name="org.vertx.scala.core.datagram.DatagramSocket#setMulticastLoopbackMode" visbl="pub" data-isabs="false" fullComment="yes" group="Ungrouped">
      <a id="setMulticastLoopbackMode(loopbackModeDisabled:Boolean):org.vertx.scala.core.datagram.DatagramSocket"></a>
      <a id="setMulticastLoopbackMode(Boolean):DatagramSocket"></a>
      <h4 class="signature">
      <span class="modifier_kind">
        <span class="modifier"></span>
        <span class="kind">def</span>
      </span>
      <span class="symbol">
        <span class="name">setMulticastLoopbackMode</span><span class="params">(<span name="loopbackModeDisabled">loopbackModeDisabled: <span class="extype" name="scala.Boolean">Boolean</span></span>)</span><span class="result">: <a href="" class="extype" name="org.vertx.scala.core.datagram.DatagramSocket">DatagramSocket</a></span>
      </span>
      </h4>
      <p class="shortcomment cmt">Sets the <span class="extype" name="java.net.StandardSocketOptions.IP_MULTICAST_LOOP">java.net.StandardSocketOptions.IP_MULTICAST_LOOP</span> option.</p><div class="fullcomment"><div class="comment cmt"><p>Sets the <span class="extype" name="java.net.StandardSocketOptions.IP_MULTICAST_LOOP">java.net.StandardSocketOptions.IP_MULTICAST_LOOP</span> option.
</p></div><dl class="paramcmts block"><dt class="param">loopbackModeDisabled</dt><dd class="cmt"><p><code>true</code> if and only if the loopback mode has been disabled
</p></dd></dl></div>
    </li><li name="org.vertx.scala.core.datagram.DatagramSocket#setMulticastNetworkInterface" visbl="pub" data-isabs="false" fullComment="no" group="Ungrouped">
      <a id="setMulticastNetworkInterface(iface:String):org.vertx.scala.core.datagram.DatagramSocket"></a>
      <a id="setMulticastNetworkInterface(String):DatagramSocket"></a>
      <h4 class="signature">
      <span class="modifier_kind">
        <span class="modifier"></span>
        <span class="kind">def</span>
      </span>
      <span class="symbol">
        <span class="name">setMulticastNetworkInterface</span><span class="params">(<span name="iface">iface: <span class="extype" name="scala.Predef.String">String</span></span>)</span><span class="result">: <a href="" class="extype" name="org.vertx.scala.core.datagram.DatagramSocket">DatagramSocket</a></span>
      </span>
      </h4>
      <p class="shortcomment cmt">Sets the <span class="extype" name="java.net.StandardSocketOptions.IP_MULTICAST_IF">java.net.StandardSocketOptions.IP_MULTICAST_IF</span> option.</p>
    </li><li name="org.vertx.scala.core.datagram.DatagramSocket#setMulticastTimeToLive" visbl="pub" data-isabs="false" fullComment="no" group="Ungrouped">
      <a id="setMulticastTimeToLive(ttl:Int):org.vertx.scala.core.datagram.DatagramSocket"></a>
      <a id="setMulticastTimeToLive(Int):DatagramSocket"></a>
      <h4 class="signature">
      <span class="modifier_kind">
        <span class="modifier"></span>
        <span class="kind">def</span>
      </span>
      <span class="symbol">
        <span class="name">setMulticastTimeToLive</span><span class="params">(<span name="ttl">ttl: <span class="extype" name="scala.Int">Int</span></span>)</span><span class="result">: <a href="" class="extype" name="org.vertx.scala.core.datagram.DatagramSocket">DatagramSocket</a></span>
      </span>
      </h4>
      <p class="shortcomment cmt">Sets the <span class="extype" name="java.net.StandardSocketOptions.IP_MULTICAST_TTL">java.net.StandardSocketOptions.IP_MULTICAST_TTL</span> option.</p>
    </li><li name="org.vertx.scala.core.NetworkSupport#setReceiveBufferSize" visbl="pub" data-isabs="false" fullComment="yes" group="Ungrouped">
      <a id="setReceiveBufferSize(size:Int):NetworkSupport.this.type"></a>
      <a id="setReceiveBufferSize(Int):DatagramSocket.this.type"></a>
      <h4 class="signature">
      <span class="modifier_kind">
        <span class="modifier"></span>
        <span class="kind">def</span>
      </span>
      <span class="symbol">
        <span class="name">setReceiveBufferSize</span><span class="params">(<span name="size">size: <span class="extype" name="scala.Int">Int</span></span>)</span><span class="result">: <a href="" class="extype" name="org.vertx.scala.core.datagram.DatagramSocket">DatagramSocket</a>.this.type</span>
      </span>
      </h4>
      <p class="shortcomment cmt">Set the receive buffer size for connections created by this instance to <code>size</code> in bytes.</p><div class="fullcomment"><div class="comment cmt"><p>Set the receive buffer size for connections created by this instance to <code>size</code> in bytes.</p></div><dl class="paramcmts block"><dt>returns</dt><dd class="cmt"><p>a reference to this so multiple method calls can be chained together
</p></dd></dl><dl class="attributes block"> <dt>Definition Classes</dt><dd><a href="../NetworkSupport.html" class="extype" name="org.vertx.scala.core.NetworkSupport">NetworkSupport</a></dd></dl></div>
    </li><li name="org.vertx.scala.core.NetworkSupport#setReuseAddress" visbl="pub" data-isabs="false" fullComment="yes" group="Ungrouped">
      <a id="setReuseAddress(reuse:Boolean):NetworkSupport.this.type"></a>
      <a id="setReuseAddress(Boolean):DatagramSocket.this.type"></a>
      <h4 class="signature">
      <span class="modifier_kind">
        <span class="modifier"></span>
        <span class="kind">def</span>
      </span>
      <span class="symbol">
        <span class="name">setReuseAddress</span><span class="params">(<span name="reuse">reuse: <span class="extype" name="scala.Boolean">Boolean</span></span>)</span><span class="result">: <a href="" class="extype" name="org.vertx.scala.core.datagram.DatagramSocket">DatagramSocket</a>.this.type</span>
      </span>
      </h4>
      <p class="shortcomment cmt">Set the reuseAddress setting for connections created by this instance to <code>reuse</code>.</p><div class="fullcomment"><div class="comment cmt"><p>Set the reuseAddress setting for connections created by this instance to <code>reuse</code>.</p></div><dl class="paramcmts block"><dt>returns</dt><dd class="cmt"><p>a reference to this so multiple method calls can be chained together
</p></dd></dl><dl class="attributes block"> <dt>Definition Classes</dt><dd><a href="../NetworkSupport.html" class="extype" name="org.vertx.scala.core.NetworkSupport">NetworkSupport</a></dd></dl></div>
    </li><li name="org.vertx.scala.core.NetworkSupport#setSendBufferSize" visbl="pub" data-isabs="false" fullComment="yes" group="Ungrouped">
      <a id="setSendBufferSize(size:Int):NetworkSupport.this.type"></a>
      <a id="setSendBufferSize(Int):DatagramSocket.this.type"></a>
      <h4 class="signature">
      <span class="modifier_kind">
        <span class="modifier"></span>
        <span class="kind">def</span>
      </span>
      <span class="symbol">
        <span class="name">setSendBufferSize</span><span class="params">(<span name="size">size: <span class="extype" name="scala.Int">Int</span></span>)</span><span class="result">: <a href="" class="extype" name="org.vertx.scala.core.datagram.DatagramSocket">DatagramSocket</a>.this.type</span>
      </span>
      </h4>
      <p class="shortcomment cmt">Set the send buffer size for connections created by this instance to <code>size</code> in bytes.</p><div class="fullcomment"><div class="comment cmt"><p>Set the send buffer size for connections created by this instance to <code>size</code> in bytes.</p></div><dl class="paramcmts block"><dt>returns</dt><dd class="cmt"><p>a reference to this so multiple method calls can be chained together
</p></dd></dl><dl class="attributes block"> <dt>Definition Classes</dt><dd><a href="../NetworkSupport.html" class="extype" name="org.vertx.scala.core.NetworkSupport">NetworkSupport</a></dd></dl></div>
    </li><li name="org.vertx.scala.core.NetworkSupport#setTrafficClass" visbl="pub" data-isabs="false" fullComment="yes" group="Ungrouped">
      <a id="setTrafficClass(trafficClass:Int):NetworkSupport.this.type"></a>
      <a id="setTrafficClass(Int):DatagramSocket.this.type"></a>
      <h4 class="signature">
      <span class="modifier_kind">
        <span class="modifier"></span>
        <span class="kind">def</span>
      </span>
      <span class="symbol">
        <span class="name">setTrafficClass</span><span class="params">(<span name="trafficClass">trafficClass: <span class="extype" name="scala.Int">Int</span></span>)</span><span class="result">: <a href="" class="extype" name="org.vertx.scala.core.datagram.DatagramSocket">DatagramSocket</a>.this.type</span>
      </span>
      </h4>
      <p class="shortcomment cmt">Set the trafficClass setting for connections created by this instance to <code>trafficClass</code>.</p><div class="fullcomment"><div class="comment cmt"><p>Set the trafficClass setting for connections created by this instance to <code>trafficClass</code>.</p></div><dl class="paramcmts block"><dt>returns</dt><dd class="cmt"><p>a reference to this so multiple method calls can be chained together
</p></dd></dl><dl class="attributes block"> <dt>Definition Classes</dt><dd><a href="../NetworkSupport.html" class="extype" name="org.vertx.scala.core.NetworkSupport">NetworkSupport</a></dd></dl></div>
    </li><li name="org.vertx.scala.core.streams.DrainSupport#setWriteQueueMaxSize" visbl="pub" data-isabs="false" fullComment="yes" group="Ungrouped">
      <a id="setWriteQueueMaxSize(maxSize:Int):DrainSupport.this.type"></a>
      <a id="setWriteQueueMaxSize(Int):DatagramSocket.this.type"></a>
      <h4 class="signature">
      <span class="modifier_kind">
        <span class="modifier"></span>
        <span class="kind">def</span>
      </span>
      <span class="symbol">
        <span class="name">setWriteQueueMaxSize</span><span class="params">(<span name="maxSize">maxSize: <span class="extype" name="scala.Int">Int</span></span>)</span><span class="result">: <a href="" class="extype" name="org.vertx.scala.core.datagram.DatagramSocket">DatagramSocket</a>.this.type</span>
      </span>
      </h4>
      <p class="shortcomment cmt">Set the maximum size of the write queue to <code>maxSize</code>.</p><div class="fullcomment"><div class="comment cmt"><p>Set the maximum size of the write queue to <code>maxSize</code>. You will still be
able to write to the stream even if there is more than <code>maxSize</code> bytes in
the write queue. This is used as an indicator by classes such as <code>Pump</code>
to provide flow control.
</p></div><dl class="attributes block"> <dt>Definition Classes</dt><dd><a href="../streams/DrainSupport.html" class="extype" name="org.vertx.scala.core.streams.DrainSupport">DrainSupport</a></dd></dl></div>
    </li><li name="scala.AnyRef#synchronized" visbl="pub" data-isabs="false" fullComment="yes" group="Ungrouped">
      <a id="synchronized[T0](x$1:=&gt;T0):T0"></a>
      <a id="synchronized[T0](⇒T0):T0"></a>
      <h4 class="signature">
      <span class="modifier_kind">
        <span class="modifier">final </span>
        <span class="kind">def</span>
      </span>
      <span class="symbol">
        <span class="name">synchronized</span><span class="tparams">[<span name="T0">T0</span>]</span><span class="params">(<span name="arg0">arg0: ⇒ <span class="extype" name="java.lang.AnyRef.synchronized.T0">T0</span></span>)</span><span class="result">: <span class="extype" name="java.lang.AnyRef.synchronized.T0">T0</span></span>
      </span>
      </h4>
      <div class="fullcomment"><dl class="attributes block"> <dt>Definition Classes</dt><dd>AnyRef</dd></dl></div>
    </li><li name="scala.AnyRef#toString" visbl="pub" data-isabs="false" fullComment="yes" group="Ungrouped">
      <a id="toString():String"></a>
      <a id="toString():String"></a>
      <h4 class="signature">
      <span class="modifier_kind">
        <span class="modifier"></span>
        <span class="kind">def</span>
      </span>
      <span class="symbol">
        <span class="name">toString</span><span class="params">()</span><span class="result">: <span class="extype" name="java.lang.String">String</span></span>
      </span>
      </h4>
      <div class="fullcomment"><dl class="attributes block"> <dt>Definition Classes</dt><dd>AnyRef → Any</dd></dl></div>
    </li><li name="org.vertx.scala.core.datagram.DatagramSocket#unlistenMulticastGroup" visbl="pub" data-isabs="false" fullComment="yes" group="Ungrouped">
      <a id="unlistenMulticastGroup(multicastAddress:String,networkInterface:String,source:String,handler:org.vertx.scala.core.AsyncResult[org.vertx.scala.core.datagram.DatagramSocket]=&gt;Unit):org.vertx.scala.core.datagram.DatagramSocket"></a>
      <a id="unlistenMulticastGroup(String,String,String,(AsyncResult[DatagramSocket])⇒Unit):DatagramSocket"></a>
      <h4 class="signature">
      <span class="modifier_kind">
        <span class="modifier"></span>
        <span class="kind">def</span>
      </span>
      <span class="symbol">
        <span class="name">unlistenMulticastGroup</span><span class="params">(<span name="multicastAddress">multicastAddress: <span class="extype" name="scala.Predef.String">String</span></span>, <span name="networkInterface">networkInterface: <span class="extype" name="scala.Predef.String">String</span></span>, <span name="source">source: <span class="extype" name="scala.Predef.String">String</span></span>, <span name="handler">handler: (<a href="../package.html#AsyncResult[T]=org.vertx.java.core.AsyncResult[T]" class="extmbr" name="org.vertx.scala.core.AsyncResult">AsyncResult</a>[<a href="" class="extype" name="org.vertx.scala.core.datagram.DatagramSocket">DatagramSocket</a>]) ⇒ <span class="extype" name="scala.Unit">Unit</span></span>)</span><span class="result">: <a href="" class="extype" name="org.vertx.scala.core.datagram.DatagramSocket">DatagramSocket</a></span>
      </span>
      </h4>
      <p class="shortcomment cmt">Leaves a multicast group and so stop listen for packets send to it on the given network interface.</p><div class="fullcomment"><div class="comment cmt"><p>Leaves a multicast group and so stop listen for packets send to it on the given network interface.
The handler is notified once the operation completes.</p></div><dl class="paramcmts block"><dt class="param">multicastAddress</dt><dd class="cmt"><p>the address of the multicast group to join</p></dd><dt class="param">networkInterface</dt><dd class="cmt"><p>the network interface on which to listen for packets.</p></dd><dt class="param">source</dt><dd class="cmt"><p>the address of the source for which we will listen for mulicast packets</p></dd><dt class="param">handler</dt><dd class="cmt"><p>then handler to notify once the operation completes</p></dd><dt>returns</dt><dd class="cmt"><p>this              returns itself for method-chaining
</p></dd></dl></div>
    </li><li name="org.vertx.scala.core.datagram.DatagramSocket#unlistenMulticastGroup" visbl="pub" data-isabs="false" fullComment="yes" group="Ungrouped">
      <a id="unlistenMulticastGroup(multicastAddress:String,handler:org.vertx.scala.core.AsyncResult[org.vertx.scala.core.datagram.DatagramSocket]=&gt;Unit):org.vertx.scala.core.datagram.DatagramSocket"></a>
      <a id="unlistenMulticastGroup(String,(AsyncResult[DatagramSocket])⇒Unit):DatagramSocket"></a>
      <h4 class="signature">
      <span class="modifier_kind">
        <span class="modifier"></span>
        <span class="kind">def</span>
      </span>
      <span class="symbol">
        <span class="name">unlistenMulticastGroup</span><span class="params">(<span name="multicastAddress">multicastAddress: <span class="extype" name="scala.Predef.String">String</span></span>, <span name="handler">handler: (<a href="../package.html#AsyncResult[T]=org.vertx.java.core.AsyncResult[T]" class="extmbr" name="org.vertx.scala.core.AsyncResult">AsyncResult</a>[<a href="" class="extype" name="org.vertx.scala.core.datagram.DatagramSocket">DatagramSocket</a>]) ⇒ <span class="extype" name="scala.Unit">Unit</span></span>)</span><span class="result">: <a href="" class="extype" name="org.vertx.scala.core.datagram.DatagramSocket">DatagramSocket</a></span>
      </span>
      </h4>
      <p class="shortcomment cmt">Leaves a multicast group and so stop listen for packets send to it.</p><div class="fullcomment"><div class="comment cmt"><p>Leaves a multicast group and so stop listen for packets send to it.
The handler is notified once the operation completes.</p></div><dl class="paramcmts block"><dt class="param">multicastAddress</dt><dd class="cmt"><p>the address of the multicast group to leave</p></dd><dt class="param">handler</dt><dd class="cmt"><p>then handler to notify once the operation completes</p></dd><dt>returns</dt><dd class="cmt"><p>this              returns itself for method-chaining
</p></dd></dl></div>
    </li><li name="scala.AnyRef#wait" visbl="pub" data-isabs="false" fullComment="yes" group="Ungrouped">
      <a id="wait():Unit"></a>
      <a id="wait():Unit"></a>
      <h4 class="signature">
      <span class="modifier_kind">
        <span class="modifier">final </span>
        <span class="kind">def</span>
      </span>
      <span class="symbol">
        <span class="name">wait</span><span class="params">()</span><span class="result">: <span class="extype" name="scala.Unit">Unit</span></span>
      </span>
      </h4>
      <div class="fullcomment"><dl class="attributes block"> <dt>Definition Classes</dt><dd>AnyRef</dd><dt>Annotations</dt><dd>
                <span class="name">@throws</span><span class="args">(<span>
      
      <span class="defval" name="classOf[java.lang.InterruptedException]">...</span>
    </span>)</span>
              
        </dd></dl></div>
    </li><li name="scala.AnyRef#wait" visbl="pub" data-isabs="false" fullComment="yes" group="Ungrouped">
      <a id="wait(x$1:Long,x$2:Int):Unit"></a>
      <a id="wait(Long,Int):Unit"></a>
      <h4 class="signature">
      <span class="modifier_kind">
        <span class="modifier">final </span>
        <span class="kind">def</span>
      </span>
      <span class="symbol">
        <span class="name">wait</span><span class="params">(<span name="arg0">arg0: <span class="extype" name="scala.Long">Long</span></span>, <span name="arg1">arg1: <span class="extype" name="scala.Int">Int</span></span>)</span><span class="result">: <span class="extype" name="scala.Unit">Unit</span></span>
      </span>
      </h4>
      <div class="fullcomment"><dl class="attributes block"> <dt>Definition Classes</dt><dd>AnyRef</dd><dt>Annotations</dt><dd>
                <span class="name">@throws</span><span class="args">(<span>
      
      <span class="defval" name="classOf[java.lang.InterruptedException]">...</span>
    </span>)</span>
              
        </dd></dl></div>
    </li><li name="scala.AnyRef#wait" visbl="pub" data-isabs="false" fullComment="yes" group="Ungrouped">
      <a id="wait(x$1:Long):Unit"></a>
      <a id="wait(Long):Unit"></a>
      <h4 class="signature">
      <span class="modifier_kind">
        <span class="modifier">final </span>
        <span class="kind">def</span>
      </span>
      <span class="symbol">
        <span class="name">wait</span><span class="params">(<span name="arg0">arg0: <span class="extype" name="scala.Long">Long</span></span>)</span><span class="result">: <span class="extype" name="scala.Unit">Unit</span></span>
      </span>
      </h4>
      <div class="fullcomment"><dl class="attributes block"> <dt>Definition Classes</dt><dd>AnyRef</dd><dt>Annotations</dt><dd>
                <span class="name">@throws</span><span class="args">(<span>
      
      <span class="defval" name="classOf[java.lang.InterruptedException]">...</span>
    </span>)</span>
              
        </dd></dl></div>
    </li><li name="org.vertx.scala.Self#wrap" visbl="prt" data-isabs="false" fullComment="yes" group="Ungrouped">
      <a id="wrap[X](doStuff:=&gt;X):Self.this.type"></a>
      <a id="wrap[X](⇒X):DatagramSocket.this.type"></a>
      <h4 class="signature">
      <span class="modifier_kind">
        <span class="modifier"></span>
        <span class="kind">def</span>
      </span>
      <span class="symbol">
        <span class="name">wrap</span><span class="tparams">[<span name="X">X</span>]</span><span class="params">(<span name="doStuff">doStuff: ⇒ <span class="extype" name="org.vertx.scala.Self.wrap.X">X</span></span>)</span><span class="result">: <a href="" class="extype" name="org.vertx.scala.core.datagram.DatagramSocket">DatagramSocket</a>.this.type</span>
      </span>
      </h4>
      <p class="shortcomment cmt">Helper method wrapping invocations and returning the Scala type, once
again to help provide fluent return types
</p><div class="fullcomment"><div class="comment cmt"><p>Helper method wrapping invocations and returning the Scala type, once
again to help provide fluent return types
</p></div><dl class="attributes block"> <dt>Attributes</dt><dd>protected[this] </dd><dt>Definition Classes</dt><dd>Self</dd></dl></div>
    </li><li name="org.vertx.scala.core.streams.DrainSupport#writeQueueFull" visbl="pub" data-isabs="false" fullComment="yes" group="Ungrouped">
      <a id="writeQueueFull:Boolean"></a>
      <a id="writeQueueFull:Boolean"></a>
      <h4 class="signature">
      <span class="modifier_kind">
        <span class="modifier"></span>
        <span class="kind">def</span>
      </span>
      <span class="symbol">
        <span class="name">writeQueueFull</span><span class="result">: <span class="extype" name="scala.Boolean">Boolean</span></span>
      </span>
      </h4>
      <p class="shortcomment cmt">This will return <code>true</code> if there are more bytes in the write queue than
the value set using <a href="../streams/DrainSupport.html#setWriteQueueMaxSize(maxSize:Int):DrainSupport.this.type" class="extmbr" name="org.vertx.scala.core.streams.DrainSupport#setWriteQueueMaxSize">org.vertx.scala.core.streams.DrainSupport.setWriteQueueMaxSize</a>
</p><div class="fullcomment"><div class="comment cmt"><p>This will return <code>true</code> if there are more bytes in the write queue than
the value set using <a href="../streams/DrainSupport.html#setWriteQueueMaxSize(maxSize:Int):DrainSupport.this.type" class="extmbr" name="org.vertx.scala.core.streams.DrainSupport#setWriteQueueMaxSize">org.vertx.scala.core.streams.DrainSupport.setWriteQueueMaxSize</a>
</p></div><dl class="attributes block"> <dt>Definition Classes</dt><dd><a href="../streams/DrainSupport.html" class="extype" name="org.vertx.scala.core.streams.DrainSupport">DrainSupport</a></dd></dl></div>
    </li></ol>
            </div>

        

        
        </div>

        <div id="inheritedMembers">
        <div class="parent" name="org.vertx.scala.core.Closeable">
              <h3>Inherited from <a href="../Closeable.html" class="extype" name="org.vertx.scala.core.Closeable">Closeable</a></h3>
            </div><div class="parent" name="org.vertx.scala.core.streams.ReadSupport">
              <h3>Inherited from <a href="../streams/ReadSupport.html" class="extype" name="org.vertx.scala.core.streams.ReadSupport">ReadSupport</a>[<a href="DatagramPacket.html" class="extype" name="org.vertx.scala.core.datagram.DatagramPacket">DatagramPacket</a>]</h3>
            </div><div class="parent" name="org.vertx.scala.core.streams.ExceptionSupport">
              <h3>Inherited from <a href="../streams/ExceptionSupport.html" class="extype" name="org.vertx.scala.core.streams.ExceptionSupport">ExceptionSupport</a></h3>
            </div><div class="parent" name="org.vertx.scala.core.NetworkSupport">
              <h3>Inherited from <a href="../NetworkSupport.html" class="extype" name="org.vertx.scala.core.NetworkSupport">NetworkSupport</a></h3>
            </div><div class="parent" name="org.vertx.scala.core.streams.DrainSupport">
              <h3>Inherited from <a href="../streams/DrainSupport.html" class="extype" name="org.vertx.scala.core.streams.DrainSupport">DrainSupport</a></h3>
            </div><div class="parent" name="org.vertx.scala.AsJava">
              <h3>Inherited from <span class="extype" name="org.vertx.scala.AsJava">AsJava</span></h3>
            </div><div class="parent" name="org.vertx.scala.Self">
              <h3>Inherited from <span class="extype" name="org.vertx.scala.Self">Self</span></h3>
            </div><div class="parent" name="scala.AnyRef">
              <h3>Inherited from <a href="../../../../../scala/package.html#AnyRef=Object" class="extmbr" name="scala.AnyRef">AnyRef</a></h3>
            </div><div class="parent" name="scala.Any">
              <h3>Inherited from <span class="extype" name="scala.Any">Any</span></h3>
            </div>
        
        </div>

        <div id="groupedMembers">
        <div class="group" name="Ungrouped">
              <h3>Ungrouped</h3>
              
            </div>
        </div>

      </div>

      <div id="tooltip"></div>

      <div id="footer">  </div>
      <script defer="defer" type="text/javascript" id="jquery-js" src="../../../../../lib/jquery.js"></script><script defer="defer" type="text/javascript" id="jquery-ui-js" src="../../../../../lib/jquery-ui.js"></script><script defer="defer" type="text/javascript" id="tools-tooltip-js" src="../../../../../lib/tools.tooltip.js"></script><script defer="defer" type="text/javascript" id="template-js" src="../../../../../lib/template.js"></script>
    </body>
      </html>